import { Button } from 'antd';
import { history } from 'umi';
import styles from './index.less';

const Recommend: React.FC = () => {
  const clickButton = () => {
    history.push('/recommend');
  };
  return (
    <div className={styles.tabBox}>
      <img src={require('@/assets/imgs/recommend.png')} />
      <div className={styles.advertising}>
        <p>智能推荐，口味定制</p>
        <Button type="primary" size="large" onClick={clickButton}>
          立即体验
        </Button>
      </div>
    </div>
  );
};
export default Recommend;
